﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccess;
using System.IO;
using EntityLayer0;

namespace Bu_layer
{
    public class BU_login
    {
        //private List<User> users;
        //Login login = new Login();


        LoginDAL loginDAL = new LoginDAL();

        public BU_login()
        {
            ////Class1 class1 = new Class1(server, account, username, password);
            //class1.login(username, password);
        }

        //public void AddFileInfo()
        //{
        //    string fileName = "Piet";
        //    string fileFormat = ".pdf";

        //    List <FileDataInfo> fileDataInfoList = new List<FileDataInfo>();
            
        //    FileDataInfo fileDataInfo = new FileDataInfo(fileName);
        //     loginDAL.AddFileInfo(fileDataInfo);
         
            //string directory = "C:\\Users\\Joyce\\Documents\\Documents\\Test";
            //DirectoryInfo dir = new DirectoryInfo(directory);
            //FileInfo[] fileInfo = dir.GetFiles();
            //return fileInfo;
        //}

       
    
     

            

        //string fullFilePath = "C:\\Users\\Joyce\\Documents\\Documents\\Test\\Test.pdf";

        //public byte[] GetBytesFromFile()
        //{
        //    byte[] bytes = File.ReadAllBytes("C:\\Users\\Joyce\\Documents\\Documents\\Test\\Test.pdf");
        //    return bytes;
        //}


    
}
}
